Input-output circuit, recording apparatus and reproduction apparatus for digital video signal

ABSTRACT

A video signal input-output circuit and a recording-reproduction apparatus in which a digitally compressed video signal input in packet form can be recorded and reproduced efficiently and in stable fashion. In this apparatus, a clock reference is detected from a packet signal containing the clock reference and a digitally compressed video signal, a time stamp for a packet is generated using a clock signal in phase with the clock reference and added to the particular packet, and the packet signals with the time stamp added thereto are recorded closely to each other in a data storage element such as a magnetic recording medium. At playback, the packet interval is output by being restored to the original length on the basis of the time stamp added to the packet in store.

The present application is a continuation of application Ser. No.11/936,852, filed Nov. 8, 2007; which is a continuation of applicationSer. No. 10/367,730, filed Feb. 19, 2003, now U.S. Pat. No. 7,319,808;which is a continuation of application Ser. No. 09/455,413, filed Dec.6, 1999, now U.S. Pat. No. 6,600,870; which is a divisional applicationof Ser. No. 08/972,457, filed Nov. 18, 1997, now U.S. Pat. No.6,041,161; which is a divisional application of Ser. No. 08/547,662,filed Oct. 24, 1995, now abandoned, the contents of which areincorporated herein by reference.

BACKGROUND OF THE INVENTION

The present invention relates to transmission-receiving techniques andrecording-reproduction techniques for signals between apparatuses, ormore in particular to an output circuit, a recording apparatus and areproduction apparatus for digital video signals, in which the digitalinformation signal for moving pictures, programs or the like transmittedby transmission means such as coaxial cable, optical cable, telephonechannel or satellite broadcast are received and the received signals areexchanged between apparatuses.

A recording-reproduction apparatus for digital video signals isdisclosed, for example, in JP-A-1-258255 (U.S. Pat. No. 5,065,259).

Also, an ITU-T Draft Rec. H.262 standard called MPEG-2 (Moving PictureExperts Group) is known as a scheme for digitally compressing the videosignal at high efficiency. On the other hand, a MPEG-2 Systems WorkingDraft is known as a transmission standard for the video signal and theaudio signal compressed by MPEG-2.

The above-mentioned standards present a technique for compressing aprogram and broadcasting it digitally. The use of this compressionscheme with a high compression ratio allows broadcasting of four toeight times more programs than the conventional analog broadcast in thesame transmission channel. As a result, a digital satellite service or asimilar service called the Near Video On-Demand in which moving picturesof two hours are broadcast repeatedly in 30 minute shifts, for example,has already started in the U.S. Since all programs cannot be broadcastby the Near Video On-Demand service throughout the day, however, therestill is a demand for video-recording broadcast signals and viewingprograms by playback at convenient times as in the prior art.

A method for recording and reproducing a program which is digitallycompressed and digitally broadcast may include decompressing thereceived digital signal and after converting it into an analog signal,recording it in the conventional analog VTR. The conversion into ananalog signal and video-recording by analog VTR spoils the valuable highsignal-to-noise ratio of the digital signal.

JP-A-1-258255 discloses a technique for A/D converting an analog videosignal input and digitally recording it after bit reduction. In the caseof digital broadcasting, however, a high-efficiency digital compressionis already employed, and therefore, the decompression and digitalrecording of the signal as disclosed in the aforementioned publicationJP-A-1-258255 fails to obtain a sufficient compression efficiency, orthe use of such a high-efficiency digital compressor as used inbroadcasting stations for each VTR has a great cost.

It is desired to digitally record the digitally broadcast signaldirectly. According to the aforementioned MPEG standard, for example, asignal is compressed and the compressed signal is transmitted as packetsin a transport stream format. Nevertheless, any technique for recordingthe digital signal thus transmitted is not yet disclosed.

A digital signal recording apparatus for recording a digitallycompressed video signal on the magnetic tape using a rotary head isdisclosed in JP-A-5-174496. Measures against recording signals ofdifferent transmission rates and signals of different types are nottaken into consideration by such an apparatus.

SUMMARY OF THE INVENTION

An object of the present invention is to provide an apparatus capable ofefficiently recording and reproducing signals compressed according tothe MPEG standard, for example, and transmitted.

Another object of the invention is to provide a receiving apparatus anda recording-reproduction apparatus for digital broadcast and a low-costinterfacing circuit.

Still another object of the present invention is to provide an digitalsignal input-output circuit which can meet any difference in thetransmission rate or the format of the recording signal.

According to one aspect of the invention, there is provided a digitalvideo signal input-output circuit for intermittently inputting andoutputting a digitally compressed video signal in packet format by aclock signal of a predetermined frequency, wherein the frequency of theclock signal is set to an integer multiple of the rotational speed ofthe rotary head of the recording-reproducing apparatus, the framefrequency or the field frequency of the video signal.

According to another aspect of the invention, there is provided anoutput circuit for applying a digital video signal to a data storageapparatus such as a recording medium and intermittently outputting adigitally compressed video signal packet form including a time stamp,comprising means for detecting a clock reference from a digitallycompressed video signal containing the clock reference, means forgenerating a clock signal in phase with the detected clock reference,means for adding to the packet a time stamp defined as informationrepresenting the relative time of transmission of packets according tothe clock signal thus generated, and means for outputting a packet ofthe digitally compressed video signal with a time stamp added thereto.

According to still another aspect of the invention, there is provided anapparatus for recording a digitally compressed video signal containing aclock reference intermittently transmitted in packets having a timestamp as an input signal by means of a rotary head on a magneticrecording medium, comprising means for generating a reference signal forcontrolling the rotation of the rotary head in phase with the time stampand means for controlling the rotation of the rotary head on the basisof the rotation control reference signal.

According to a further aspect of the invention, there is provided anapparatus for reproducing a digitally compressed video signal containinga clock reference as an input signal recorded on a magnetic recordingmedium by a rotary head in phase with the time stamp in a packet,comprising means for reproducing the recorded signal, a localoscillator, temporal adjust means for outputting a packet signalreproduced in accordance with the time stamp contained in the reproducedsignal on the basis of the output signal of the local oscillator, acircuit for frequency-dividing the output signal of the localoscillator, and means for controlling the rotation of the rotary headaccording to the output signal of the frequency-dividing circuit.

In operation, an apparatus having the above-mentioned configurationdetects the clock reference contained in the digitally compressed signaland generates a clock signal in phase with the clock reference, therebyproducing a clock signal in phase with the digitally compressed signal.A time stamp providing time information generated using this clocksignal is added to the signal packet, whereby a time stamp insynchronization with the digitally compressed signal can be added to thesignal packet.

Further, a signal recording operation in synchronization with a digitalsignal can be effected by generating a rotation control reference signalin phase with the time stamp added to the packet signal and bycontrolling the rotation of the rotary head in accordance with thereference signal.

Furthermore, in reproducing the signal recorded this way, the reproducedsignal is temporally adjusted in accordance with the clock signalgenerated by a local oscillator, and the time interval of packet signalsthus can be securely restored. Also, the rotation of the rotary head iscontrolled by use of the particular clock signal, whereby any overage orshortage between a reproduced signal and an output signal is eliminated,thereby realizing a stable reproduction of digital signals.

Other objects, features and advantages of the present invention willbecome apparent from the following description of embodiments of theinvention taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing a digital broadcast system and ananalog broadcast system to which the invention is applied.

FIG. 2 is a block diagram showing a program distribution centeraccording to an embodiment of the invention.

FIG. 3 is a block diagram showing a transmission processing deviceaccording to an embodiment of the invention.

FIG. 4 is a block diagram showing a receiver decoder according to anembodiment of the invention.

FIG. 5 is a block diagram showing a receiver decoder according to anembodiment of the invention.

FIG. 6 is a block diagram showing a VTR according to an embodiment ofthe invention.

FIG. 7 shows signal waveforms according to the invention.

FIG. 8 shows signal waveforms according to the invention.

FIG. 9 is a block diagram showing a time stamp adder circuit accordingto an embodiment of the invention.

FIG. 10 shows signal waveforms according to the invention.

FIG. 11 is a block diagram showing a temporal adjusting circuitaccording to an embodiment of the invention.

FIG. 12 is a block diagram showing a clock restoration circuit accordingto an embodiment of the invention.

FIG. 13 is a block diagram showing a clock generating circuit for thetime stamp according to the invention.

FIG. 14 is a block diagram showing a time stamp adding scheme accordingto the invention.

FIG. 15 is a block diagram showing a recording control scheme accordingto the invention.

FIG. 16 is a block diagram showing a reproduction control schemeaccording to the invention.

FIG. 17 is a block diagram showing a receiver decoder and a VTRaccording to the invention.

FIG. 18 is a block diagram showing a recording control scheme accordingto the invention.

FIG. 19 is a diagram showing the configuration of a digital signalrecording reproduction apparatus according to another embodiment of theinvention.

FIG. 20 shows a recording pattern of a track.

FIGS. 21A and 21B are diagrams showing the block structure of each area.

FIG. 22 is a diagram showing the structure of ID information.

FIG. 23 is a diagram showing the data structure of a track in a datarecording area.

FIG. 24 is a diagram showing the structure of ID data in a datarecording area.

FIG. 25 is a diagram showing the block structure for recording thedigitally compressed video signal transmitted in packets in a datarecording area.

FIG. 26 is a diagram showing the block structure with the length of apacket set as 144 bytes.

FIG. 27 shows the structure of a packet in FIG. 25 or 26.

FIG. 28 is a diagram showing the configuration of an input-outputcircuit.

FIG. 29 shows the timings of an input-output signal.

FIG. 30 is a diagram showing connections between the digital signalrecording-reproduction apparatus shown in FIG. 19, a digital broadcastreceiver and other digital signal recording-reproduction apparatuses orthe like.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

A video distribution service using a satellite according to anembodiment of the invention will be described with reference to FIG. 1.In FIG. 1, a reference numeral 10 designates a software supplier,numeral 20 an operation center, numeral 30 a program distributioncenter, numeral 31 a transmitter, numeral 35 a current broadcastingstation, numeral 36 a transmitter, numeral 40 an artificial satellitefor distributing signals, numeral 50 a subscriber household, numeral 51a receiver, numeral 52 a receiver decoder, numeral 53 a VTR, numeral 54a TV receiver, numeral 55 a telephone set, and numeral 56 a receiver.

The video distribution service is carried out by an operator managingthe operation center 20. The operator signs a contract with the softwaresupplier 10 and causes the required software to be supplied from thesoftware supplier 10 to the program distribution center 30. According tothe embodiment shown in FIG. 1, only one supplier 10 is shown. Normally,however, a plurality of software suppliers are engaged in supplyingsoftware.

The program distribution center 30 transmits a radio wave toward thesatellite 40 by means of the transmitter 31 installed in the center 30.The satellite 40 receives the radio wave and retransmits it toward thesubscriber 50. The radio wave thus transmitted is received by thereceiver 51. According to the embodiment shown in FIG. 1, only onesubscriber 50 is shown. Normally, however, a plurality of subscribersexist.

The radio wave received by the receiver 51 is applied to the receiverdecoder 52, and the software of a predetermined channel is selected bythe receiver decoder 52. The software thus selected is recorded in theVTR 53 as required. The signal recorded in the VTR 53 and reproduced atthe desired time is returned to the receiver decoder 52, restored intothe original video signal, and applied to the TV receiver 54. When thesubscriber desires to watch the program without recording, the originalvideo signal is restored without the VTR 53 and applied to the TVreceiver 54.

The subscriber may request desired software from the operation center 20by way of the telephone 55. Also, the operation center 20 can survey thereceiving and viewing conditions of the subscriber 50 through thetelephone channel from the receiver decoder 52 and charge the subscriber50 in accordance with the viewing conditions.

Further, the radio wave transmitted from the current broadcast station35 by the transmitter 36 is received by the receiver 56 and the receivedsignal is input and recorded in the VTR 53. The signal reproduced in theVTR 53 may be applied to the TV receiver 54 to view the program. Whenthe VTR 53 is not required to record the program, the signal from thereceiver 56 is of course applied to the TV receiver 54 and the programcan be viewed directly.

FIG. 2 is a block diagram showing the program distribution center 30according to an embodiment in detail. In FIG. 2, numeral 100 designatesinput means for software sent from the software supplier 10, numeral 101input means for a control signal for the program or the like sent fromthe operation center 20, numeral 115 a supply unit for a storage medium,numerals 160 to 163 storage media, numerals 170 to 173 bit compressors,numeral 180 a transmission processing device, numeral 190 a programcontroller, and numeral 191 a program guide generator.

The embodiment shown in FIG. 2 represents the case in which software issent from the software supplier 10 in a storage medium. In this case,the terminal 100 acts only as a window for receiving the storage mediumby the program distribution center 30. The storage medium thus receivedis stored in a storage medium supply unit 115 and is supplied to thestorage media 160 to 163 under the control of the program controller190. The signals reproduced at the storage media 160 to 163 are appliedrespectively to the bit compressors 170 to 173, where they arebit-compressed according to the MPEG-2 standard. The output signal ofthe compressors 170 to 173 is applied to the transmission processingdevice 180.

Also, a control signal for the program issued is applied from theoperation center 20 through the input means 101 to the programcontroller 190. The program issue control signal from the programcontroller 190 is applied to the storage medium supply unit 115, thestorage media 160 to 163 and the transmission processing device 180. Inaccordance with this control signal, as described above, the storagemedium in the storage medium supply unit 115 is supplied to the storagemedia 160 to 163 to thereby control the reproduction, termination, etc.of the software of the storage media 160 to 163.

Further, the guide information for the program distributed to thesubscriber 50 from the program distribution center 30 is generated inthe program guide generator 191 in accordance with the information fromthe program controller 190, and applied to the transmission processingdevice 180. The transmission processing device 180 process signals fortransmission in accordance with, for example, the MPEG transmissionstandard described above. The signal thus processed for transmission isapplied to the transmitter 31 and transmitted toward the satellite 40from the transmitter 31.

FIG. 3 is a block diagram showing an example of the signal processingoperation in the transmission processing device 180. In FIG. 3, numerals170 a to 173 a, 190 a, 191 a designate input terminals, numerals 170 bto 173 b, 31 a output terminals, numerals 181 to 184 encryptors, numeral185 a time-division multiplexer, numeral 186 an error correction codeadder, and numeral 187 a modulator.

In FIG. 3, the signals from the bit compressors 170 a to 173 are appliedthrough the input terminals 170 a to 173 a to the encryptors 181 to 184,respectively. The encryptors 181 to 184 encrypt the supplied programs asrequired. This encryption may be effected only on the video signal orthe audio signal, or on both the video signal and the audio signal. Thesignal thus encrypted is applied to a time-division multiplexer 185. Theterminal 190 a is an input terminal for the signals from the programcontroller 190. The viewing right control signal (i.e. video and audioentitlement control message) for each program is applied through theterminal 190 a to the time-division multiplexer 185. This signalincludes a signal indicating whether a particular subscriber has theviewing right for the signal broadcast. Further, the time-divisionmultiplexer 185 is supplied with program guide information from aprogram guide generator 191 through the input terminal 191 a. Eachsignal is packeted in a predetermined format and compressed andmultiplexed temporally. According to this embodiment, the viewing rightcontrol signal and the program guide information are shown without anencryptor. These signals, however, may also be encrypted.

The rate control information for each program is applied through theterminal 190 a. This is the information for bit-compressing the programinput from the bit compressor 170 in the range of 4 to 8 Mbps, and theprogram input from the bit compressor 171 in the range of 2 to 6 Mbps,for example. According to this information, the time-divisionmultiplexer 185 controls the bit rate of the bit compressors 170 to 173.The time-division multiplexer 185 applies a control signal to the bitcompressors 170 to 173 through the output terminals 170 b to 173 b. As aresult, the bit rate of each program is controlled in such a way thatthe signal rate after time-division multiplexing is less than apredetermined value.

The output signal of the time-division multiplexer 185 is applied to theerror correction code adder 186. In the case under consideration, anerror correction code is added for correcting the transmission errorcaused by the noise in a satellite channel shown in FIG. 1, a CATVchannel, which is not shown, or a telephone line. The output signal ofthe error correction coder is applied to the modulator 187, and in thecase of the embodiment shown in FIG. 3, the programs of four channelsare modulated on a single carrier thereby constituting a singletransmission channel. The signal modulated on the single carrier is senttoward the transmitter 31 through the terminal 31 a.

Although the embodiment shown in FIG. 2 has four storage media so thatthe transmission processing device 180 can be supplied with fourprograms, more programs can be time-division multiplexed by use of morestorage media.

According to the embodiment shown in FIG. 2, signals f or a singletransmission channel are processed. Instead, signals for a plurality oftransmission channels can be sent by providing a plurality ofcombinations of the storage media 160 to 163, the bit compressors 170 to173 and the transmission processing device 180.

The transmission channel is defined as a signal modulated on a singlecarrier by time-division multiplexing a plurality of programs asdescribed above. Each of a plurality of programs is referred to simplyas a channel.

FIG. 4 shows a specific example of the configuration of a receiverdecoder at the subscriber household 50 (FIG. 1). In FIG. 4, numeral 200designates an input terminal for a signal from the receiver 51, numeral201 an input-output terminal for a signal for requesting a software fromthe operation center or a signal for exchanging the signal fordetermining the receiving conditions of a fee-charging broadcast,numeral 202 an output terminal for a signal restored, numeral 203 aninput-output terminal for a signal exchanged with the VTR, numeral 205an input terminal for a signal from the receiver 56 shown in FIG. 1,numeral 210 a tuner, numeral 220 an error correction circuit, 230 aprogram dividing circuit, numeral 240 a change-over circuit, numeral 250a decryption circuit, numeral 260 a decoding circuit for bit expansion,numeral 270 a signal output processing circuit, numeral 280 a controlcircuit, and numeral 290 an interface circuit.

The receiver 51 that has received a signal from the satellite 40 appliesthe received signal to the tuner 210 through the terminal 200. The tuner210 selects from among the received signals the signal of a desiredtransmission channel in accordance with the control signal from thecontrol circuit 280, and demodulates the signal modulated by themodulator 187 and applies the demodulated signal to the error correctioncircuit 220. The error correction circuit 220 corrects any erroroccurring mainly in the channel in accordance with the error correctioncode added by the error correction code adder 186 (FIG. 3). The signalthe error of which has been corrected is applied to the program dividingcircuit 230. The program dividing circuit 230 selects and outputs adesired program in accordance with the control signal from the controlcircuit 280 from a plurality of programs time-division multiplexed bythe time-division multiplexer 185 on a single transmission channel.

The output signal of the program dividing circuit 230 is applied to thechange-over circuit 240 and the interface circuit 290, and furtherthrough the terminal 203 to the VTR 53. The VTR 53 records the digitalbit stream applied thereto, and, at playback, applies a signal to theinterface circuit 290 through the terminal 203 in the same format as theinput bit stream. The output signal of the interface circuit 290 isapplied to the change-over circuit 240. The change-over circuit 240selects and outputs a signal from the program dividing circuit 230 whenrestoring the received signal and selects and outputs a signal from theinterface circuit 290 when selecting and outputting a reproduced outputsignal of the VTR 53, in accordance with the control signal from thecontrol circuit 280.

The output signal of the change-over circuit 240 is applied to thedecryption circuit 250. The decryption circuit 250 decrypts the signalencrypted by the encryptors 181 to 184 (FIG. 3). The signal decoded fromthe code produced by the decryption circuit 250 is applied to thedecoding circuit 260, where the bits compressed at the bit compressors160 to 163 are decoded and decompressed.

The bit-decompressed signal from the decoding circuit 260 is applied tothe output processing circuit 270 as a component signal containing aluminance signal and two color difference signals. The two colordifference signals applied to the output processing circuit 270 aresubjected to quadrature modulation and thus converted into a carrierchrominance signal, so that the output processing circuit 270 producesthe resulting carrier chrominance signal and the luminance signal. Theoutput signal is applied through the terminal 202 to the TV receiver 54.Just in case the TV receiver 54 has only a composite input terminal, theoutput processing circuit 270 may produce a composite signal by addingthe luminance signal and the carrier chrominance signal. Further, both asignal containing the luminance signal and the carrier chrominancesignal and a composite signal may be produced.

Also, the signal applied from the receiver 56 through the input terminal205 is recorded in the VTR 53 as required, and a reproduced signal isapplied to a TV image pick-up device 54. When the signal from thereceiver 56 is not recorded in the VTR 53, on the other hand, the inputsignal or an equivalent signal is applied to the TV receiver 54. In theembodiment shown in FIG. 4, the signal not yet decrypted is recorded inthe VTR 53, and therefore the signal is not necessarily decrypted at thetime of recording in the VTR 53. The subscriber can thus record free ofcharge and can be charged doe each playback.

FIG. 5 shows another specific example of the receiver decoder shown inFIG. 1 according to an embodiment. The component parts included in FIG.5, which are partially shared by the embodiment of FIG. 4, aredesignated by the same reference numerals as the corresponding partsrespectively and will not be described in detail.

According to the embodiment shown in FIG. 5, the change-over circuit 240is located behind the decryption circuit 250 as compared with theembodiment shown in FIG. 4. Specifically, the output signal of thedecryption circuit 250 is applied to the VTR 53 and the change-Overcircuit 240, and the output signal of the VTR 53 to the change-overcircuit 240. The output signal of the change-over circuit 240 is appliedto the decoding circuit 260.

The embodiment shown in FIG. 5 concerns the case of recording a signaldecrypted at the decryption circuit 250. In this case, the decryptedsignal is recorded in the VTR 53. Therefore, the subscriber is chargedfor decryption at recording, and can playback without being charged.

Although the decryption circuit 250 is arranged behind the programdividing circuit 230 in the embodiment shown in FIG. 5, the programdividing operation may be performed after decryption.

FIG. 6 is a block diagram showing a VTR 53 according to one embodimentof the invention. In FIG. 6, numeral 300 designates an input-outputterminal for a signal from the receiver decoder 52 shown in FIG. 1,numeral 302 an input terminal for a signal from the receiver 56 shown inFIG. 1, numeral 303 an output terminal thereof, numeral 305 an interfacecircuit, numeral 311 a parity adder circuit, numeral 312 a modulationcircuit, numeral 320 a tape transport system, numeral 330 a demodulationcircuit, numeral 331 an error correction circuit, numeral 340 an analogvideo signal recording circuit, numeral 350 an analog video signalreproduction circuit, numeral 360 an analog audio signal recordingcircuit, and numeral 370 an analog audio signal reproduction circuit.

The signal applied through the input terminal 300 is applied to theparity adder circuit 311 through the interface circuit 305. The parityadder circuit 311 is for adding a parity code for correcting any errorwhich may occur in the tape transport system 320. The output signal fromthe parity adder circuit 311 is applied to the modulation circuit 312.The modulation circuit 312 modulates the digital signal into a formsuitable for the tape transport system 320. Such schemes as NRZ, NRZI,8-10 conversion, MFM, M2, etc. are known for modulation. The modulatedsignal is applied to the tape transport system 320 and recorded in themagnetic tape 1.

At playback, the reproduced signal is applied to the demodulationcircuit 330 where it is modulated in correspondence with the modulationcircuit 312. The output signal of the demodulation circuit 330 isapplied to the error correction circuit 331, where any error which mayhave occurred in the tape transport system 320 is corrected on the basisof the parity code added at the parity adder circuit 311. The outputsignal of the error correction circuit 331 is applied to the interfacecircuit 305, and after being converted into a signal in the same form asthe signal input from the input terminal 300, is output from theterminal 300. The signal output from the terminal 300 is applied to thereceiver decoder 52 shown in FIG. 1.

As seen from the embodiment of FIG. 6, the VTR 53 requires therein noneof the bit compressors 170 to 173 shown in FIG. 2, and therefore adigital signal VTR which is small in circuit size can be realized. Also,no bit compressor is required in any VTR, but only at the programdistribution center 30. Therefore, although the center increases incircuit size and cost, a high-performance bit compressor can be used,and the resulting higher relative bit compression ratio reduces the datarate of the digital signal transmitted. Consequently, the VTR 53 used bythe subscriber can be improved in quality, reduced in cost and canrecord for a longer time.

An analog signal is applied through the terminal 302 from the receiver56 to the analog video signal recording circuit 340 and the analog audiosignal recording circuit 360; where the signal is processed according tothe VHS standard, β standard or the 8-mm VTR standard, for example. Thesignal thus processed is applied to the tape transport system 320. Thetape transport system 320 records the signal in accordance withrespective formats as in a conventional VTR.

At playback, the signal reproduced at the tape transport system 320 isapplied to the analog video signal reproduction circuit 350 and theanalog audio signal reproduction circuit 370 which process thereproduced signal in a manner corresponding to the analog video signalrecording circuit 340 and the analog audio signal recording circuit 360,respectively. The reproduced signal is applied appropriately to the TVreceiver 54 shown in FIG. 1 through the output terminal 303. As aresult, the digital broadcast and the conventional analog broadcast canbe recorded using the same tape transport system.

FIG. 7 is a model diagram showing an example signal (or an output signalfrom the output terminal 31 a shown in FIG. 3) output from thetransmitter 31. The embodiment of FIG. 7 shows the case in which fourprograms are transmitted through a single transmission channel accordingto the embodiment shown in FIG. 2. Also, the embodiment concerns thecase in which there are a number n of transmission channels (1) to (n).In FIG. 7, V1, V2, V3 and V4 designate video signals of four programs,A1, A2, A3, A4 audio signals for four programs, PG designates a signalrepresenting program guide information, and VECM, AECM represent controlsignals representing the viewing rights. Each of these signals is asignal constituting a packet.

In the embodiment shown in FIG. 2, the four programs generally havedifferent transmission rates. From the immediate point of view, the dataamount is increased or decreased. In order to efficiently control thisvariation, each information bit is packeted and time-divisionmultiplexed as shown in FIG. 7. Details of the signal in the packet aredescribed in the transmission standards referred to above. Though notshown in detail in the model diagram of FIG. 7, the signal in eachpacket is encrypted by the encryptors 181 to 184 as required asexplained with reference to FIG. 3. Also, the error correction codeadder 186 adds an error correction code and the time-divisionmultiplexer 185 header information such as a synchronization signal.

In-the embodiments shown in FIGS. 4 and 5, signals designated by (1) to(n) in FIG. 7 are supplied through the terminal 200, and a signal forone of the transmission channels is selected at the tuner 210. In thecase under consideration, the signal of FIG. 7(1) is assumed to havebeen selected. The selected signal shown in FIG. 7(1) has an errorthereof corrected at the error correction circuit 220 and is applied tothe program dividing circuit 230. The program indicated by the suffix 1is assumed to have been selected from the time-division multiplexed fourprograms at the program dividing circuit 230. In such a case, theprogram guide information PG, the viewing right control signals VECM,AECM are also separated and output at the same time as the video signalV1 and the audio signal A1. FIG. 8(2) shows the signal representing adivided program. FIG. 8(1) is identical to FIG. 7(1).

With reference to the embodiments shown in FIGS. 4 and 5, explanationwill first be made about the case in which not the reproduced signalfrom the VTR 53 but rather the signal from the tuner 210 is selecteddirectly by the change-over circuit 240. The signal˜ about divided intoa program shown in FIG. 8(2) is decrypted by the decryption circuit 250.This decryption is performed according to the viewing right controlsignals VECM, AECM shown in FIG. 8(2). More specifically, when asubscriber household has the right to view the program presentlyselected, the code is decrypted, while when the subscriber household hasno right to view the program, the code is not decrypted. Instead, theabsence of the viewing right is indicated or information indicating amethod for acquiring the viewing right is output from the terminal 202.The output of this information is what is called the on-screen-display(OSD). This information is added to the video signal and output from theoutput processing circuit 270.

The decrypted signal is applied to the decoding circuit 260. Thedecoding circuit 260 corresponds to the bit compressors 170 to 173 shownin FIG. 2, and decodes a signal input according to the MPEG-2 standard,for example. When a signal compressed according to the MPEG standard isdecoded, it is necessary to synchronize the transmitted signal with thedata to be decoded. When the transmitted signal fails to be synchronizedwith the data to be decoded and the decoding rate is higher than thetransmission rate, for example, the data runs short making the decodingimpossible. In order to prevent such an inconvenience, a clock referencecalled SCR (System Clock Reference) or PCR (Program Clock Reference) isadded to the packet according to the MPEG standard. At decoding, thedecoding clock signal is restored according to this clock reference.This is described, for example, in MPEG-2 System Working Draft(ISO/IEC/JTC1/SC291WG11 No. 601 MPEG92/November, 1993), pp. 20-25. As aresult, the arrival time of each packet cannot be changed.

For the selected signal of FIG. 8(2) to be recorded in the VTR 53,therefore, it is necessary to conceive a method for making reproductionwhile maintaining time intervals of input packets.

A signal corresponding to FIG. 8(2) is applied as an input signal to theinterface circuit 290. As an example, the bit rate of the signal outputfrom the transmitter 31 shown in FIG. 2 is assumed to be 40 Mb/s. Amongthese bits, assume that the information in the amount 7/6 of the Viterbicode is assigned for error correction and that the header information of17 bytes is added for 130 bytes of packets compressed by the bitcompressor. Under the condition where an error is corrected by the errorcorrection circuit 220 shown in FIGS. 5 and 6 and the header informationrequired for transmission is removed, the bit rate is about 30 Mb/s asexpressed by the following Equation (1):

40×(6/7)×(139/147)=30.3  (1)

As shown in FIG. 8(2), packets exist successively at some parts and withintervals of several packets at other parts. For the VTR 53 to recordwhile maintaining these time intervals of signals, recording at higherrate than shown in Equation 1 is required. As shown in FIG. 8(2),packets are not sent for some time intervals. As far as packets can bepacked for recording and restored to the original time intervals at thetime of reproduction, therefore, the recording rate can be reduced ascompared with the value shown in Equation 1. FIG. 8(3) shows signalsapplied to the VTR 53 from the interface circuit 290 in FIGS. 5 and 6for recording the packets in packed state at the time of recording andrestoring the packet intervals to the original time intervals at thetime of reproduction.

FIG. 8(3) shows signals applied to the interface circuit 290 from theprogram dividing circuit 230 in the embodiment shown in FIG. 5 and fromthe decryption circuit 250 in the embodiment shown in FIG. 6. Theinterface circuit 290 adds information (time stamp) indicating the timeof packet arrival as header information to the input signal. Informationother than the time stamp may be further added as header information.Also, it is necessary to increase the packet transmission rate in orderto add the header information such as a time stamp to the input signalto the interface circuit 290 shown in FIG. 8(2). FIG. 8(3) shows a modelof such a case. More specifically, a packet is transmitted for a shortertransmission time in FIG. 8(3) than in FIG. 8(2).

FIG. 9 shows a circuit for adding a time stamp according to anembodiment. Numeral 400 designates an input terminal for a clock signalto count the time stamp, numeral 401 an input terminal for a packetsignal shown in FIG. 8(2), numeral 402 an output terminal for a signalto which a time stamp is added, numeral 410 a counting circuit, numeral411 a latch circuit, numeral 420 a memory, numeral 430 a packet headdetection circuit, numeral 431 a memory control circuit, numeral 440 amultiplexing circuit, and numeral 450 a delay circuit.

The packet signal shown in FIG. 8(2) is applied through the terminal 401to the memory 420 and 10 the packet head detection circuit 430. Thepacket head detection circuit 430 detects the head of the packet of thesignal input, and the resulting detection signal is applied to the latchcircuit 411, the control circuit 431 and the delay circuit 450. Theclock signal supplied from the terminal 400, on the other hand, isapplied to the counting circuit 410 to thereby count the clock signalscontinuously. The output signal from the counting circuit is applied tothe latch circuit 411. The latch circuit 411 latches the count input bythe packet head signal from the packet head detection circuit 430. Thecount thus latched is applied to the multiplexing circuit 440. Thiscount provides time stamp information for a packet.

A control signal for the memory 40 is generated on the basis of thepacket head detection signal applied to the control circuit 431. Theclock signal applied from the terminal 404 is used as a write clock forthe memory 420 since the clock signal coincides with the packet signalfrequency applied from the terminal 401. The clock signal applied fromthe terminal 403 is used as a read clock for the memory 420. A frequencyhigher than that of the write clock applied from the terminal 404 isselected as a frequency of this clock signal. When the write clockfrequency is 30.3 MHz according to Equation 1, for example, the readclock frequency is set to 49.152 MHz. This read clock constitutes a busclock frequency of the signal sent to the VTR 53 from the terminal 203shown in FIGS. 5 and 6. In the process, the clock signal for thecounting circuit 410 applied from the terminal 400, i.e., the clocksignal frequency for the time stamp is the same as the clock signalfrequency applied from the terminal 403, for example. In this case, thesame signal can be used for the bus clock signal applied from theterminal 403 as the clock signal for the time stamp. This is, however,not to limit the time stamp clock frequency to the same frequency as thebus clock frequency.

A predetermined length of time after a packet is applied to the memory420, the packet is read from the memory. The frequency of the read clocksignal is set higher than the write clock signal frequency. Therefore,the transmission time of the output packet can be reduced as comparedwith the transmission time of the input packet signal as shown in FIGS.8(2) and 8(3). As a result, even where a succession of packets aretransmitted, as shown in FIG. 8(3), a period of time is available foradding the header information including the time stamp. The outputsignal of the memory 420 is applied to the multiplexing circuit 440.

The delay circuit 450 delays the packet head detection signal andoutputs a gate signal indicating the position of addition of the timestamp signal in accordance with the packet signal output from the memory420. The particular gate signal is applied to the multiplexing circuit440, where the time stamp from the latch circuit 411 is added and thesignal shown in FIG. 8(3) is output from the terminal 402 in accordancewith the gate signal.

The signal shown in FIG. 8(3) is applied through the terminal 203 shownin FIGS. 5 and 6 to the VTR 53. FIG. 10(1) shows signals correspondingto FIG. 8(3), and characters P1, P2, . . . designate input packetsignals. In the VTR 53, as shown in FIG. 7, the packet signals P4, P5, .. . shown in FIG. 10(1) are applied to the parity adder circuit 311through the terminal 300 and the interface circuit 305. The parity addercircuit 311 includes a memory (not shown) of a capacity for storing atleast as many signals as to be recorded in a single track, which memorystores the packet signals P4, P5, . . . . The parity adder circuit 311outputs packet signals in a packed state as shown in FIG. 10(2). Thereare gaps formed between the packets of the input signal shown in FIG.10(1) as explained with reference to FIG. 8. Since the packet signalsare output with the gaps thereof closed, as shown in FIG. 10(2),however, the rate of the output signal is lower than that of the inputpacket signals. The recording rate for the tape transport system 320 canthus be reduced. In FIG. 10, the output signal (2) is shown as beingdelayed behind the input signal (1) by a track of period for the sake ofsimplicity. However, the delay is not limited to a track of period butmay be as required for the signal processing.

At the time of reproduction, the signal reproduced and output from thetape transport system 320 is applied through the demodulation circuit330 to the error correction circuit 331. The signal applied to the errorcorrection circuit 331 is, as in the case of FIG. 10(2), composed ofpacket signals P1, P2, . . . in a packed state. FIG. 10(3) shows areproduced input signal for the error correction circuit. The errorcorrection circuit 331 also has a memory (not shown) of a capacitycorresponding to the signal for one track period. The input signal shownin FIG. 10(3) is applied to the memory in the error correction circuit331. FIG. ii is a block diagram showing an embodiment of a temporaladjusting circuit for restoring the intervals of the reproduced packetsignals P1, P2, to the original length. FIG. 10(4) shows the reproducedpacket signals P1, P2, . . . whose intervals are restored to theoriginal length.

In FIG. 11, numeral 510 designates a memory in the error correctioncircuit 331, numeral 500 an input terminal for the memory 510, numeral520 a memory, numeral 501 a read clock input terminal for the memory520, numeral 502 a write clock input terminal for the memory 520,numeral 503 an output terminal for the signal which is temporallyadjusted, numeral 551 a counting circuit, numeral 504 an input terminalfor the clock signal for the counting circuit 551, numeral 530 a timestamp gate circuit, numeral 540 a control circuit, numeral 550 a timestamp read circuit, numeral 552 a coincidence detection circuit, numeral560 a circuit block built in the error correction circuit 331, andnumeral 570 a circuit block built in the interface circuit 305.

The reproduced signal shown in FIG. 10(3) applied from the terminal 500shown in FIG. 11 is applied to the memory 510. The signal output foreach of the packets represented by the packet signals P1, P2, . . . fromthe memory 510 is applied to the memory 520 and the time stamp readcircuit 550. The read operation of the memory 510 and the write and readoperation of the memory 520 are controlled by the control signal fromthe control circuit 540. The time stamp read circuit 550 is alsosupplied with the control signal from the control circuit 540 andoutputs a signal indicating the position of the time stamp signal withrespect to the signal from the memory 510, thereby reading the timestamp signal at the correct position. The time stamp signal thus read isapplied to the coincidence detection circuit 552.

A clock signal of the same frequency as that input from the terminal 400shown in FIG. 9 is applied from the terminal 504 to the counting circuit551. The counting circuit 551 counts the clock signal thus input andoutputs the count to the coincidence detection circuit 552. Thecoincidence detection circuit 552 outputs a coincidence signal when thetwo input signals coincide with each other, which coincidence signal isapplied to the control circuit 540.

The control circuit 540 causes a packet signal to be read from thememory 520 in accordance with the coincidence signal. FIG. 10(4) shows asignal thus read out. The read operation is performed in accordance withthe read clock signal applied from the read terminal 501. At the sametime, a new packet is applied from the memory 510, and is written in thememory 520 on the basis of the write clock applied from the terminal502. The clock signal frequency applied from the terminal 501 isdetermined in such a manner as to correspond to the signal rate betweenthe terminal 203 and the VTR 53 shown in FIGS. 5 and 6.

The packet signals P1, P2, . . . . Temporally adjusted and output fromthe memory 520 are applied to a time stamp gate circuit 530. The timestamp gate circuit 530 gates the time stamp signal as required, so thatall the time stamp signals are fixed to 0 or 1 level, for example. Asshown in FIG. 10(5), the signal rearranged to the same time intervals asthe signal shown in FIG. 10(1) from the terminal 300 shown in FIG. 7 isoutput from the terminal 503.

As a result of the above-mentioned operation, signals of the same packetintervals as the one shown in FIG. 8(3) are applied from the terminal203 shown in FIGS. 5 and 6 to the interface circuit 290. The interfacecircuit 290 deletes the header information as required and applies theresulting signal to the switch circuit 240. Hence, the same signal asthe one from the tuner 210 applied from the other input terminal of theswitch 240 is restored.

A VTR for recording digital signals has a feature that the image qualityis not deteriorated after repetitive dubbing due to the sufficient errorcorrection effected as shown in FIG. 7. Nevertheless, repeated dubbingwithout a deterioration of image quality may fail to protect the rightsof copyright holders sufficiently. In order to avoid this inconvenience,there is provided a technique for preventing dubbing according to theinvention.

As shown in FIG. 11, the temporally adjusted packet signals P1, P2, . .. output from the memory 520 are applied to the time stamp gate circuit530. The time stamp gate circuit 530 sets all the signals for the periodcorresponding to the time stamp shown in FIG. 8(3) to, say, 0 level or 1level, as described above. As a result, the information indicating thetime intervals of the packets disappears from the packet signals P1, P2,. . . output from the interface circuit 305 shown in FIG. 7. When theoutput signal from the terminal 300 is applied to and recorded in theVTR shown in FIG. 7, therefore, the signal shown in FIG. 10(3) isreproduced. Since the signal indicating the time stamp position includedin each packet which may be read contains no information indicating thetime intervals, the original time intervals cannot be restored. When allof the signals at the position corresponding to the time stamp are at 0or 1 level, the circuit shown in FIG. 11, after reading a packet, readsthe next packet after the lapse of a time corresponding to the number ofbits of the time stamp. Generally, the number of bits of a time stamp isset in such a manner that the period indicated by the particular numberof bits is longer than one track period. The signal of the next track,therefore, is written in the memory 510 before all the packet signalsare read from the memory 510. As a result, it is no longer possible tooutput signals corresponding to input signals. Thus the dubbing can beinhibited.

The foregoing description concerns the case in which all the signals atthe position corresponding to the time stamp are set to 0 or 1 level.Alternatively, the same effect can be attained in the time stamp gatecircuit 530 by changing at least a bit of the signal at the position ofthe time stamp. As a result, when the reproduced signal is recorded inanother VTR, it is no longer possible to restore the packets to theoriginal position. The dubbing can thus be inhibited.

Now, a technique will be described for restoring, with high accuracy,the signal reproduced as mentioned above. The MPEG standard stipulatesthat the accuracy of the system clock for decompressing and restoring acompressed image should be set to 27 MHz 30 ppm or less. In order toachieve this accuracy, as described above, the system clock is restoredusing the clock reference SCR. In the case of digital broadcast, theaccuracy of the clock at the program distribution center 30 shown inFIG. 1 is defined as 3 ppm or less. When the signal received at thereceiver 51 and the receiver decoder 52 is restored directly by thedecoding circuit 260 without the VTR 53, the restoration of the systemclock using the clock reference 5CR described above can achievesubstantially the same accuracy of the system clock as that for theprogram distribution center 30.

FIG. 12 shows a block diagram of a circuit for restoring the systemclock on the basis of the clock reference SCR. In FIG. 12, numeral 600designates an input terminal for a signal received, numeral 601 anoutput terminal for a system clock, numeral 610 a circuit for detectingthe clock reference SCR, numeral 620 a subtractor circuit, numeral 630 aD/A converter circuit, numeral 631 a low-pass filter (hereinafterreferred to as the LPF), numeral 632 a voltage-controlled oscillator(hereinafter referred to as the VCO), and numeral 640 a counter circuit.

The receive signal applied from the terminal 600 is the one after errorcorrection at the error correction circuit shown in FIGS. 4 and 5 andbefore the decoding at the decoding circuit 260. The signal thus inputcorresponds to (1) or (2). Upon application thereto of a signal beforeprogram division at the program dividing circuit 230, the clockreference detection circuit 610 performs the same operation as theprogram dividing circuit 230 and detects and outputs the clock referenceSCR contained in a predetermined packet. The detected clock referenceSCR is applied to the subtractor circuit 620 and the counter circuit640. The counter circuit 640 sets the value of the reference SCR as theinitial value on the counter. The system clock output from the terminal601 is applied to the counter circuit 640 which counts the system clockfrom the value set by the clock reference SCR. The count on the counteris applied to the subtractor circuit 620, which outputs the differencebetween the reference SCR and the count with the reference input andapplies the difference to the D/A converter circuit 630. The D/Aconverter circuit 630 converts the input difference into an analogsignal, which is applied to the LPF 631. The LPF 631 smoothes the inputanalog signal and applies the smoothed signal to the VCO 632. The VCO632 controls the oscillation frequency according to the input signal.The output signal of the VCO 632 is output as a system clock from theterminal 601.

The circuit shown in FIG. 12 constitutes what is called a negativefeedback circuit. When the system clock frequency is high as comparedwith the intervals of the clock reference SCR, a negative value isoutput from the subtractor circuit 620, whereas when the system clockfrequency is lower, a positive value is produced from the subtractorcircuit 620, thereby controlling the oscillation frequency of the VCO632 to a constant level. Consequently, the system clock frequency at thereceiver side, i.e., the receiver decoder can be made equal to thesystem clock frequency at the transmission side, i.e., the programdistribution center 30, so that the accuracy of the system clock can bemaintained substantially less than ±3 ppm.

Now, a technique is described for restoring with high accuracy thesignal reproduced from the VTR 53. In this case, the accuracy of theclock at the program distribution center 30, the accuracy of the timestamp at the time stamp adder circuit shown in FIG. 9, and the accuracyof the clock of the temporal adjusting circuit shown in FIG. 11 aredeterminant factors. When a clock signal is produced independently foreach of these circuits, the overall accuracy must be maintained at 30ppm or less. The clock accuracy at the program distribution center 30 is±3 ppm. Therefore, the accuracy of the tithe stamp at the time stampadder circuit shown in FIG. 9 and the accuracy of the clock for thetemporal adjusting circuit shown in FIG. ii are required to bemaintained to ±13 ppm or less respectively. In order to maintain thisaccuracy, a high-accuracy crystal oscillator is required.

A technique for improving the accuracy of the time stamp at the timestamp adder circuit shown in FIG. 9 is illustrated in FIG. 13. In FIG.13, numeral 650 designates a clock restoration circuit shown in FIG. 12,numeral 600 a PLL circuit, numeral 602 a system clock input terminal,numeral 603 a clock signal output terminal, numerals 661, 665 frequencydivider circuits, numeral 662 a phase comparator circuit, numeral 663 anLPF, and numeral 664 a VCO.

The system clock signal output from the terminal 601 is applied throughthe terminal 602 to the PLL circuit 660. The system clock signal appliedfrom the terminal 602 is frequency-divided to a predetermined frequencyat the frequency-divider circuit 661. The signal thus frequency-dividedis applied to the phase comparator circuit 662, and the oscillationfrequency of the VCO 664 is frequency-divided at the frequency dividercircuit 665 to a frequency equal to the output signal frequency of thefrequency divider circuit 661. The phase comparator circuit 661 comparesthe phases of the two input signals, and applies a phase error signaltherebetween to the LPF 663. The output signal of the LPF 663 is appliedto the VCO 664 for controlling the oscillation frequency of the VCO 664.This PLL circuit 660 constitutes what is called a negative feedbackcircuit. When the oscillation frequency of the VCO 664 is higher thanthe system clock input from the terminal 602, the input to the PLLcircuit 660 is fed back in such a manner as to reduce the oscillationfrequency, and vice versa. Consequently, the oscillation frequency ofthe VCO 664 is phase-locked to the system frequency. The accuracy of theclock signal frequency output from the terminal 603 thus can bemaintained at ±3 ppm or less which is substantially equal to theaccuracy of the system clock signal input.

The accuracy of the time stamp can thus be set to that of the clock atthe program distribution center 30. In view of the accuracy value of ±3ppm, the clock accuracy of the temporal adjusting circuit is set to ±27ppm or less. An error twice as large as when using an independent clockis permitted, thereby facilitating the designing of the oscillator.

The clock restoration circuit 650 is required in the decoding circuit260, and therefore can double as a clock restoration circuit included inthe decoding circuit 260. A clock restoration circuit may alternativelybe provided independently for adding a time stamp signal.

In the embodiment shown in FIG. 13, assume that the system clockfrequency is 27 MHz and the time stamp frequency is 49.152 MHz. Thedividing ratio of the frequency divider circuit 661 is set to 1/1125,and the dividing ratio of the frequency divider circuit 665 to 1/2048.In this case, the frequencies of the signals applied to the phasecomparator 662 are both set to 24 kHz.

When the time stamp frequency assumes a value different from theaforementioned frequency, the dividing ratio of the frequency dividercircuits 661, 665 is changed appropriately to meet the situation. Also,in the case where the time stamp frequency is set to 27 MHz, the PLLcircuit 660 of course is not required, and the system clock signaloutput from the terminal 601 is used as a clock signal for the timestamp.

In FIG. 9, assume that the time stamp frequency and the bus clockfrequency are both set to 10 49.152 MHz. The clock signal of 49.152 MHzgenerated in the embodiment of FIG. 13 is applied from the terminals400, 403, whereby the frequency accuracy of the time stamp can bemaintained at 3 ppm or less, a value equal to the system clock accuracyof the program distribution center 30.

When the time stamp frequency is set to 27 MHz and the bus clockfrequency to 49.152 MHz, on the other hand, the PLL circuit 660 is notrequired. The system clock signal output from the terminal 601,therefore, is applied as a time stamp clock signal from the terminal400, while the bus clock frequency has an accuracy of only about ±100ppm. A local oscillator can thus be used. FIG. 14 shows theconfiguration of a time stamp adder circuit in such a case. In thiscircuit, numeral 670 designates a local oscillator adapted to oscillateat 49.152 MHz described above.

Now, description is made about the accuracy of the clock signal for thetemporal adjusting circuit shown in FIG. 11 when a time stamp signal isprepared as shown in FIG. 13. When the time stamp clock signal appliedfrom the terminal 504 and the bus clock frequency applied from theterminal 501 are equal to each other at, say, 49.152 MHz, for example, aclock signal is applied for both from a local oscillator of the samefrequency of 49.152 MHz. The accuracy of the clock frequency in thiscase is required to be ±27 ppm or less as described above.

When the bus clock frequency and the time stamp signal frequency aredifferent from each other, on the other hand, the accuracy of the timestamp signal applied from the terminal 504 is required to be ±27 ppm orless, while the required accuracy of the bus clock signal applied fromthe terminal 502 is only about ±100 ppm. In this case, both clocksignals can be produced by a local oscillator. This corresponds tosetting the time stamp signal frequency to 27 MHz and the bus clockfrequency to 49.152 MHz in the above-mentioned case.

Further, a technique is described for operating the VTR 53 in stablefashion. For the VTR 53 to operate stably, the relation between the rateof data input from the terminal 300 shown in FIG. 6 (corresponding tothe time stamp frequency) and the rotational speed of the rotarycylinder (not shown) included in the tape transport system 320 isrequired to coincide with the relation between the rate of the dataoutput from the terminal 300 at playback (corresponding to the timestamp frequency) and the rotational speed of the rotary cylinder. Anembodiment for realizing such coincidence of relations is shown in FIG.15.

In FIG. 15, numeral 600 designates an input terminal for a signalcorresponding to FIG. 8(3) received at the interface circuit 305 shownin FIG. 6, numeral 611 a time stamp read circuit, numeral 621 asubtractor circuit, numeral 635 a D/A converter circuit, numeral 636 anLPF, numeral 637 a VCO, numeral 641 a counter circuit, numeral 651 aclock restoration circuit, numeral 710 a change-over circuit, numeral720 a frequency divider circuit, numeral 730 a servo circuit, andnumeral 740 a local oscillator of the time stamp clock.

First, the operation in recording mode is described. At recording, thechangeover circuit 710 selects and outputs a signal from the VCO 637.The clock restoration circuit 651 shown in FIG. 15 can be realized inthe same configuration as the clock restoration circuit 650 shown inFIG. 12. The clock restoration circuit 651 has the time stamp readcircuit 611 read the time stamp of each packet from the signal inputapplied through the terminal 600, and the output signal of the timestamp read circuit 611 is applied to the subtractor circuit 621 and thecounter. Subsequent operations are the same as those of the clockrestoration circuit 650. The output signal of the VCO 637 issynchronized with the time stamp signal added to the packet signalinput. The clock signal synchronized with the time stamp signal which isoutput from the clock restoration circuit 651 is applied to thechange-over circuit 710. At recording, a signal from the VCO

637 is selected and output from the change-over circuit 710. The outputsignal from the change-over circuit 710 is applied to the frequencydivider circuit 720, and after being frequency-divided at apredetermined dividing ratio, is applied to the servo circuit 730.

The servo circuit 730 controls the rotation of the rotary cylinder insuch a manner that the rotary cylinder is in phase with the signalapplied from the frequency divider circuit 720.

Now, the operation in playback mode is described. At playback, an outputsignal of the local oscillator 740 for time stamp clock applied to thechange-over circuit 720 is selected and output, and the output signal isfrequency-divided by the frequency divider circuit 720 and applied tothe servo circuit 730. The servo circuit 730 controls the rotarycylinder in such a manner as to operate in phase with the referencesignal applied thereto.

At recording, the rotation of the rotary cylinder is controlled on thebasis of the clock synchronized with the time stamp signal, while atplayback, the rotation of the rotary cylinder is controlled in such amanner as to be phase-locked to the time stamp clock signal forcontrolling the output of the reproduced data. At playback, therefore,the data output from the tape transport system can be synchronized withthe data output from the interface, thereby eliminating any data overageor shortage in the process.

According to the embodiment shown in FIG. 15, a technique was describedin which the clock is synchronized with the time stamp being applied forrecording so that the relation between the rate of data input(corresponding to the time stamp frequency) and the rotational speed ofthe rotary cylinder (not shown) included in the tape transport system320 coincides with the relation between the rate of data output from theterminal 300 at playback (corresponding to the time stamp frequency) andthe rotational speed of the rotary cylinder. It is also possible toobtain the coincidence of the relations at the time of playback bycontrolling the cylinder rotation. An embodiment for such a case isshown in FIG. 16.

In FIG. 16, the component parts are partially the same as thecorresponding ones of the embodiment shown in FIG. 15, and the commonparts are designated by the same reference numerals respectively.Numerals 750 to 752 designate frequency divider circuits, numeral 760 aselection circuit, and numeral 770 a control circuit.

At recording, the output signal of the local oscillator 740 for thereproduction time stamp is applied to the frequency divider circuit 751,where the input signal is frequency-divided at a predetermined dividingratio, and the selection circuit 760 selects and outputs an outputsignal of the frequency divider circuit 751. The output signal of theselection circuit 760 is applied to the servo circuit for controllingthe rotary cylinder in such a manner as to be synchronized in phase witha reference signal.

At playback, the output signal of the local oscillator 740 is applied tothe frequency divider circuits 750 to 752. The dividing ratio of thefrequency divider circuit 750 is set smaller and the dividing ratio ofthe frequency divider circuit 752 is set larger than that of thefrequency divider circuit 751. As a result, the frequencies of thesignals output from the respective frequency divider circuits are suchthat the output signal of the frequency divider circuit 750 is higher infrequency than that of the frequency divider circuit 751, while theoutput signal of the frequency divider circuit 752 is lower than that ofthe frequency divider circuit 751. Each output signal is applied to theselection circuit 760, and selectively output therefrom in accordancewith the control signal from the control circuit 770. The output signalof the selection circuit 760 is applied to the servo circuit 730. Thememory 510 is the same as the corresponding one shown in FIG. 11. Thecontrol circuit 770 for controlling the write and read operations of thememory 510 produces a selective control signal for the selection circuit760.

The clock signal frequency for the signal shown in FIG. 8(3) with a timestamp added thereto and applied to the VTR 53 is substantially equal tothe oscillation frequency of the local oscillator 740 but different incrystal accuracy. Even when a reference signal for the rotary cylinderis produced by frequency-dividing the output clock of the localoscillator 740 at a predetermined frequency divider circuit 751 at thetime of recording, therefore, the fact that data is output from thememory 510 while watching the time stamp at playback leads to the factthat the data reproduced from the cylinder included in the tapetransport system 320 and applied to the memory 510 fails to coincidewith the data output from the memory 510 in an amount within theframework of the above-mentioned accuracy, resulting in an overage or ashortage of data a predetermined time later. In view of this, thecontrol circuit 770 monitors the data overage and shortage, and when thedata is in short supply, selectively outputs the output signal of thefrequency divider circuit 750 thereby to increase the rotationalfrequency of the cylinder. When the data is on the increase, bycontrast, the output signal of the frequency divider circuit 752 isselected to control the rotational speed of the cylinder downward. Whenit is decided that there is not any overage or shortage, the outputsignal of the frequency divider circuit 751 providing the same dividingratio as for recording is selected.

As described above, a compressed signal can be recorded and reproducedin stable fashion by use of the invention.

FIG. 17 is a block diagram showing the overall configuration of thereceiver decoder 52 and the VTR 53 for when the time stamp clock and thebus clock have different frequencies. Although the receiver decoder 52based on the embodiment of Fig. is shown, the effect is similar when theoutput signal of the change-over circuit 240 is decrypted on the basisof the embodiment shown in FIG. 4. The interface circuit 290 is shown onthe basis of the embodiment of FIG. 14. In this case, the receiverdecoder 52 and the VTR 53 are connected by a modulated signal. Numerals800, 810 designate modern circuits for that purpose. As a result, thesignal output from the terminal 402 shown in FIG. 14 is modulated at themodem circuit 800, output from the receiver decoder 52 through theterminal 203, and applied to the VTR 53 through the terminal 300.

The VTR 53 operates in a manner according to the embodiment of FIG. 6.The signal applied from the terminal 300 is applied to the interfacecircuit 305. The interface circuit 305 operates in accordance with theembodiment of FIG. 15. This circuit is supplied with a modulated signal,and therefore, the input signal from the terminal 300 is applied to anddemodulated by the modem circuit 810. The demodulated signal is appliedto the clock restoration circuit 651 and the parity adder circuit 311.The parity adder circuit 311 and the modulation circuit 312 process thesignal in accordance with the clock signal restored at the clockrestoration circuit 651. Numeral 830 designates a tape transport sectionof the tape transport system 320 shown in FIG. 6.

In FIG. 17, the local oscillator 740 generates a clock for the timestamp. This time stamp clock is used also for the reproduction signalprocessing at the demodulation circuit 330 and the error correctioncircuit 331. Numeral 820 designates a local oscillator for the busclock.

In the embodiment shown in FIG. 17, the interface circuit for the VTR 53and a part of the circuits of the tape transport system operates in thesame manner as the corresponding parts of the embodiment of FIG. 15.Another embodiment is shown in FIG. 18. In the embodiment of FIG. 18,the frequency of the local oscillator 740 having an oscillationfrequency equal to the time stamp clock frequency is compared with thetime stamp of the input signal, and the rotation of the rotary cylinderis controlled in accordance with the time stamp. This can produce thesame effect as the embodiment shown in FIG. 15. In FIG. 18, referencenumeral 721 designates a frequency divider circuit, numeral 851 asubtractor circuit, and numeral 852 a counter circuit.

The signal input from the terminal 600 has the time stamp thereof readby the time stamp read circuit 611. The time stamp thus read is appliedto the subtractor circuit 851 and the counter circuit 852. A clocksignal of a frequency equal to the time stamp clock is output from thelocal oscillator 740, and is applied to the counter circuit 852 and thefrequency divider circuit 721. The count on the counter circuit 852 isset by the time stamp applied thereto for counting the input clocksignal. The output signal of the counter circuit 852 is applied to thesubtractor circuit 851 where the difference with the input time stamp istaken, which difference is applied to the frequency divider circuit 721.The frequency divider circuit 721 frequency-divides the clock signalfrom the local oscillator 740, and thus produces a reference signal forthe servo circuit 730. When the difference is applied from thesubtractor circuit 851 in the process, the dividing ratio of thefrequency divider circuit is finely adjusted in accordance with thedifference, and the reference signal applied to the servo circuit 730 issynchronized with the time stamp signal input.

As described above, the rotation of the rotary cylinder can becontrolled in synchronism with the time stamp input, with the resultbeing that the recording operation of the VTR 53 can be performed instable fashion. Although the digital signal is processed in a VTRaccording to the above-mentioned embodiment, the invention is notlimited to such an application but the output of the interface circuitof the receiver decoder may be applied to another type of data storagedevice including a memory.

According to this embodiment, a digitally compressed video signal can besent intermittently in the form of packets. Also, the signal can alwaysbe recorded and reproduced in stable fashion, thereby making it possibleto restore the original time intervals of the packet signal.

Now, another embodiment is described with reference to FIGS. 19 to 30.This embodiment concerns the case in which the clock signal for the timestamp added to the packets received is identical in frequency with theclock signal for transmitting the packets.

FIG. 19 shows the configuration of a digital signalrecording-reproduction apparatus. Numeral 1100 designates a rotary head,numeral 1101 a capstan, numeral 1102 a recording-reproduction signalprocessing circuit for generating a recording signal at recording anddemodulating the reproduced signal at playback, numeral 1104 a controlcircuit such as a microprocessor for controlling the recording andplayback modes, numeral 1105 a circuit for generating a timing signalproviding a reference for the rotation of the rotary head 1100, numeral1106 a servo circuit for controlling the rotary head and the tape feedrate, numeral 1107 an input-output circuit for inputting the recordingsignal or outputting the reproduced signal, numeral 1109 avoltage-controlled, oscillation circuit (VCO) for generating a referenceclock for recording, numeral 1110 an oscillation circuit for generatinga reference clock for reproduction, numeral 1111 a tape, and numeral1112 a recording-reproduction circuit for the analog video signal.

At recording, the recording data in packet form are applied from theinput-output terminal 1108 at given time intervals. A part of the packetdata applied from the input-output terminal 1108 is applied through theinput-output circuit 1107 to the control circuit 1104. The controlcircuit 1104 detects the type of the packet data, the maximumtransmission rate, etc. by means of the information attached to thepacket data or the information sent separately from the packet data,decides on a recording mode according to the detection result, and setsthe operation mode of the recording-reproduction signal processingcircuit 1102 and the servo circuit 1106. The input-output circuit 1107detects the packet data to be recorded, and applies the detected packetdata to the recording reproduction signal processing circuit 1102. Therecording-reproduction signal processing circuit 1102 determines thenumber of packets to be recorded in a track according to the recordingmode decided at the control circuit 1104, generates an error correctioncode, ID information, a sub-code or the like, generates a recordingsignal, and records the signal on the tape 1111 by means of the rotaryhead 1100.

At playback, first, the reproduction operation is performed in a givenplayback mode, and the ID information is detected at the recordingreproduction signal processing circuit 1102. The control circuit 1104decides on the recording mode to be used, and resets the operation modeof the recording reproduction signal processing circuit 1104 and theservo circuit 1106 for reproduction. The recording reproduction signalprocessing circuit 1104 detects a synchronization signal or detects andcorrects an error in accordance with the reproduced signal from therotary head 1100, reproduces the data, the sub-code or the like, andapplies them to the input-output circuit 1107. The input-output circuit1107 outputs the reproduced data from the input-output terminal 1108 onthe basis of the timing signal generated at the timing signal generatingcircuit 1105.

At recording, the VCO 1109 is controlled at the rate of the recordingdata input from the input-output terminal 1108 and a reference clock foroperation of the recording-reproduction apparatus is generated, while atplayback, on the other hand, the clock generated by the oscillationcircuit 1110 is used as a reference clock for the operation.

The recording and reproduction operation for an analog video signal willbe described. At recording, the analog video signal applied from theinput terminal 1113 is processed as predetermined at the analogrecording-reproduction circuit 1112 and is recorded on the tape 1111 bymeans of the rotary head 1100. At playback, on the other hand, the videosignal reproduced by the rotary head 1111 is processed in apredetermined way at the analog recording-reproduction circuit 1112, andthen output from the terminal 1114. The head for analog recording maydouble as the head for digital recording or may be independentlyprovided.

FIG. 20 shows a recording pattern of a track. Reference numeral 1003designates an auxiliary data recording area for such signals as audiosignal, numeral 1007 a data recording area for recording a digitallycompressed video signal, numeral 1012 a sub-code recording area forrecording sub-codes such as the time stamp and the program information,numerals 1002, 1006, ion preambles to the respective recording areas,numerals 1004, 1008, 1113 postambles to the respective recording areas,numerals 1005, 1009 gaps between the respective recording areas, andnumerals 1001, 1014 margins at track ends. By forming a postamble, apreamble and a gap in each recording area, an independent post-recordingfrom the respective areas is made possible. Needless to say, digitalsignals other than the digitally compressed video signal and the audiosignal may be recorded in the recording areas 103 and 1007.

FIGS. 21A to 21B show a block composition of each area. A blockcomposition of the auxiliary data recording area 1003 and the datarecording area 1007 is shown in FIG. 21A. Reference numeral 1021designates a synchronization signal, numeral 1021 ID information,numeral 1022 a video signal or an auxiliary data, and numeral 1023 afirst parity (C1 parity) for error detection and correction. Thesynchronization signal 1020 is composed of two bytes, the ID information1021 of four bytes, the data 1022 of 195 bytes, and the parity 1023 of 9bytes. Each block consists of 210 bytes. FIG. 21B shows a blockcomposition of the sub-code recording area 101-2. In the blocks of thesub-code recording area, the synchronization signal 1020 and the IDinformation 1021 are the same as those in FIG. 21A, and the data 1022 iscomposed of 24 bytes, while the parity 1023 consists of five bytes, eachblock being formed of 35 bytes which is one sixth of the bytes of theblock in FIG. 21A. In this way, the number of bytes for each block isset in the ratio of integers and further the same composition of thesynchronization signal 1011 and the ID information 1012 is employed forall the areas, whereby the generation of blocks for recording and thedetection of the synchronization signal and the ID information can beprocessed with the same circuit.

FIG. 22 shows a composition of the ID information 1021. Numeral 1031designates an area code, numeral 1032 a track address, numeral 1033 ablock address within a track, numeral 1034 ID data, and numeral 1035 aparity for detecting an error of the area code 1031, the track address1032, the block address 1033 and the ID data 1034. The area code 1031 isfor identifying each area. The data recording area 1007, for example, isassigned “00”, the auxiliary data recording area 1003 is assigned “10”,and the sub-code recording area 1012 is assigned “11”, for example. Aplurality of types of codes, say, “00” and “01” may be assigned to thedata recording area 1007, etc., to identify different data such as forvariable-speed reproduction. The track address 1032 is for trackidentification, in which the address is changed for every one or twotracks. In this case, 64 or 128 tracks can be identified with a 6-bitaddress. The block address 1033 is for identifying the blocks of eachrecording area. The data recording area 1007 is assigned 0 to 157, theauxiliary data recording area 1003 is assigned 0 to 13, and the sub-coderecording area 1012 is assigned 0 to 17, for example.

The track address 1032 is repeated for each 12 tracks or each multipleof 12 tracks, for example, in order to identify the third errorcorrection code described later.

The C1 parity 1023 is added to the area code 1031, the track address1032 and the block address in the data 1022 and the ID information 1021,for example. As a result, the ability to detect the block address or thelike at playback can be improved.

FIG. 23 shows a data composition of each track in the data recordingarea 1007. The synchronization signal 1020 and the ID information 1021are not shown. The data recording area 1007 is composed of 158 blocks,the first 139 blocks being for recording the data 1041, the next 14blocks for recording the third error correction code (C3 parity) 1044,and the last five blocks for recording the second error correction code(C2 parity) 1043.

The C2 parity 1043 of five bytes, as compared with the C3 parity of 14bytes, is added to the data of 139 bytes for each track. On the otherhand, the C3 parity 1044 of seven bytes is added, for example, to eachof the even- and odd-numbered blocks into which a 139-block data isdivided for each 12 tracks. The Reed-Solomon code, for example, may beused as the error correction code.

FIG. 24 shows a composition of the ID data 1034 in the data recordingarea 1007. The ID datum 1034 is composed of, for example, four bytesfrom four blocks. This data is multiplex-recorded a plurality of timesthereby to improve the detection ability at playback. The four-blockdata is composed of six types of data ID-1 to ID-6.

ID-1 specifies the recording format of the data recording area 1007.More specifically, a plurality of types of formats can be handled bychanging the value of ID-1. In recording a digitally compressed videosignal of packet form, for example, the ID-1 is set to “1”.

ID-2 specifies the recording mode, i.e., the maximum recording rate.According to this embodiment, data of about Mbps can be recorded whenusing a 4-head rotary head for two-channel recording at the rotationalspeed of 1800 rpm. When the recording is carried out at the rate of onceevery two times (two tracks for each rotation), the recording rate isabout 12.5 Mbps. If the recording is effected at the rate of once everyfour times, on the other hand, the recording rate is about 6.25 Mbps. Inthis case, if the tape feed rate is set to ½ or ¼, the track pattern onthe tape is substantially the same. In similar fashion, the maximumrecording capacity can be reduced to 1/n (n: positive integer) of 25Mbps. At recording, the transmission rate of the recording data isidentified and the optimum recording mode is set. The mode in which therecording operation is performed is recorded in ID-2. For example, “1”is recorded for 25 Mbps, “2” for 12.5 Mbps, and “3” for 6.25 Mbps.

ID-3 specifies the temporal compression mode, i.e., the temporalcompression ratio for recording. This is applicable to a scheme in whicha digital signal, after being temporally compressed, transmitted in ashort time and recorded, is decompressed temporally for reproduction.This code is set to “1”, for example, when the temporal compression islacking, to “2” when the temporal compression ratio is two, and to “3”when the temporal compression ratio is four.

ID-4 is for specifying the number of channels of data recorded at thesame time. In recording mode 1, for example, data of 12.5 Mbps can berecorded in two channels.

ID-5 specifies the number of packets recorded in each track, and ID-6the length of packets recorded. The amount of data recorded in eachtrack is controlled for each packet, and the number of packets isrecorded, thereby making it possible to meet the requirement of a giventransmission rate. The data amount can be controlled for each or aplurality of tracks. By recording the packet length, on the other hand,a packet of an arbitrary length can be handled successfully.

As described above, an efficient recording operation can be performedwith a simple recording and reproduction processing by controlling therecording mode and the data amount recorded in each track in accordancewith the transmission rate of the data recorded. At playback, first, theID data 1034 is detected and the recording mode or the like isidentified, followed by setting the reproduction processing circuit tothe particular mode for reproduction.

The data amount can be controlled by bytes if the address of the lastblock is recorded in ID-5 and the position of the last data in ID-6without any correspondence between packets and blocks.

Correspondence between the frames of the digital video signal to berecorded and the track for recording can be secured by setting therotational speed of the rotary head to the same value as the framefrequency of the video signal or to a predetermined relation with theframe frequency of the video signal. When the rotational speed of therotary head is identical to the frame frequency of the video signal, thesame rotational speed can be used when the apparatus is applied also tothe recording and reproduction of an analog video signal. Thus the sameservo circuit can be used. The rotational speed is set to 1800 rpm, forexample, for the frame frequency of 30 Hz, to 1800/1.001 rpm for30/1.001 Hz, and to 1500 rpm for 25 Hz. In the case of digitalrecording, the rotational speed of the rotary head is proportional tothe maximum recording rate, and therefore the maximum recording rate canbe increased by increasing the rotational speed. With a double speed of3600 rpm, 3600/1.001 rpm or 3000 rpm, for example, the maximum recordingrate can be doubled. In consideration of the compatibility with theanalog recording and reproduction, however, a very high maximumrecording rate poses a problem. The rotational speed 5/4 times as high,i.e., 2250 rpm, 2250/1.001 rpm or 1875 rpm or thereabouts may be achoice.

FIG. 26 shows an example configuration of blocks for recording thedigitally compressed video signal transmitted in packets in the datarecording area 1041. A data of 195 bytes is composed of, for example,control information 1024 of three bytes for data and packets 1071 of 192bytes. A packet of data is recorded in a block, i.e., in correspondencewith a C1 code series, whereby a burst error which may occur due to adropout or the like on the tape and make impossible correction by blocksis prevented from affecting a plurality of packets constituting units oftransmission.

The control information 1024 is one associated with the contents ofdata, the recording time, the copy control data, or other informationassociated with the packet 1071. This information is recorded for threebytes of each block or for each 3×n bytes of n blocks.

FIG. 26 shows a composition of blocks when the length of the packet 1071is set to 144 bytes. In this composition, four packets 1971 are recordedin three blocks.

FIG. 27 shows a composition of the packet 1071 shown in FIG. 25 or 26.The packet 1071 is composed of, for example, a time stamp 1025 of threebytes, control information 1072 of a byte for the packet, and packetdata 1073 of 188 or 140 bytes. When the number of packets 1073 issmaller and the packet data is 130 bytes, for example, dummy data may beadditionally recorded or the area for the control information may beincreased.

The time stamp 1025 is information on the time at or during which apacket is transmitted. More specifically, the time at which the head ofa packet is transmitted or the intervals between packets are countedwith reference to a reference clock, and the count is recorded in apacket together with the packet data. At playback, the particularinformation is used for setting the intervals between packets. The datacan thus be produced in the same form as when transmitted.

As described above, by making arrangements to express the relationbetween the number of bytes in each packet and that in each block in asimple ratio of n: m in integers and to record a number m of packets ina number n of blocks, efficient recording is made possible even when thepacket length is different from the recording area for each block. Thecharacters n and m represent a value smaller than the number of bytesfor each packet and the number of bytes for the recording area of eachblock, respectively. If these values can be expressed in an integralnumber of 10 or less, the processing is facilitated. The recordingoperation can be performed in similar fashion also when the length of apacket is longer than the recording area of a block (n>m). Further, evenwith packets of different lengths, the recording and reproductionoperation can be done easily by employing the same format of informationsuch as the time stamp. Different packet lengths can be identified byreference to the recording format of ID-1 shown in FIG. 25 or the packetlength specified in ID-6. Packets can, of course, be recorded in packedstate without any correspondence with the blocks. Such a scheme can beapplied also to the case wherein each packet has 192 bytes or more.

When a number m of packets are recorded in a number n of blocks, on theother hand, the packets recorded in each track can be easily managed bysetting the number of blocks in a recording area to a multiple of n. Inthe case of FIG. 26, for example, the number of blocks of the datarecording area 1007 for recording the data is set to 138. Then, 184packets can be recorded in a track. Nothing may be recorded or otherinformation may be recorded in the remaining one block.

FIG. 28 shows a configuration of the input-output circuit 1107 shown inFIG. 19. Reference numeral 1300 designates a packet detection circuit,numeral 1301 a time stamp check circuit, numeral 1302 an output controlcircuit, numeral 1303 a buffer, and numeral 1304 a time control circuit.The transmission rate of the data input to or output from the input 25output terminal 1108A, i.e., the frequency of the clock signal isassumed to be the same as the reference clock for therecording-reproduction apparatus transmitted from the VCO 1109 or theoscillation circuit 1110.

At recording, the packet data and the clock signal are applied from theinput-output terminals 1108A and 1108B at the timing shown in FIG. 29.As shown in FIG. 29, the packet data 1071 including a packet i, a packeti+1, a packet i+2, a packet i+3, and so on (i: integer) are applied atirregular time intervals. The packet data and the clock signal thusinput are applied to the packet detection circuit 1300, and packets aredetected by the clock output from the timing signal generating circuit1105 and applied from the input terminal 1307. The packet 1071 detectedis applied from the output terminal 1305A to the recording-reproductionsignal processing circuit 1102 for recording. The control signal and thelike sent with the packet are output to the control circuit 1104 fromthe output terminal 1306 for identifying the packet type and determiningthe recording mode or the like. Also, the time stamp 1025 attached toeach packet is applied to the time stamp check circuit 1301.

The time stamp check circuit 1301 compares the time stamp 1025 with thepacket interval counted by the clock applied from the input terminal1307. When they are different, the VCO 1109 is controlled in such amanner as to correct the difference by the control signal output fromthe output terminal 1308. More specifically, the VCO 1109 is controlledin such a manner that the rate of data input is synchronized with thereference clock generated from the VCO 1109.

At playback, the output control circuit 1302 is controlled to the outputmode by the control signal input from the control circuit 1104 throughthe input terminal 1306B, and the reproduced packet 1071 is output insynchronism with the reference clock generated at the oscillationcircuit 1110. The reproduced packet input from therecording-reproduction signal processing circuit 1102 through the inputterminal 1305B is stored in the buffer 1303. Also, the time stamp 1025in the packet is applied to the time control circuit 1304. The timecontrol circuit 1304 generates a clock signal and controls the timing ofreading and outputting a packet from the buffer 1303 by means of thetime stamp 1025 and the clock input from the input terminal 1307. Theclock signal is output at the same timing as shown in FIG. 29, i.e., atthe timing when the recording data is input. As a result, apparatusesfor receiving and processing reproduced packets including the devicesfor decoding digitally compressed video signals or other digital signalrecording-reproduction apparatuses can process a recorded or reproducedsignal in the same manner as an unrecorded signal.

As described above, when the transmission rate of the input-output data,i.e., the frequency of the clock signal is identical to that of thereference clock of a recording-reproduction apparatus, or when thetransmission rate is the same as the frequency of the reference clockdivided by an integer multiple thereof, then an input-output circuit canbe easily constructed without using any PLL or the like. The frequencyof the reference clock must be set to an integer multiple of therotational speed of the rotary head since it is necessary to generate areference signal for the rotation of the rotary head. The rotationalspeed of the rotary head is desirably synchronized with the framefrequency of the video signal as described above. As a result, if thetransmission rate is synchronized with the rotational speed of therotary head or the frame frequency of the video signal, the referenceclock of the recording-reproduction apparatus can be easily set andconstructed. The transmission rate of course may be synchronized withthe field frequency.

Assume that the transmission rate is set to 50.4 MHz that is 840 timeshigher than 60 kHz, for example. Sixty kHz is an integer multiple, i.e.,a common multiple of all the frame frequencies including 30 Hz, 30/1.001Hz and 25 Hz and the field frequency thereof twice higher than the framefrequency. It is also an integer multiple of 2250 rpm. Further, since840=8×3×5×7, various frequency-dividing clocks can be easily generatedby setting the reference clock to the same 50.4 MHz as the transmissionrate. When it is enough to handle only a specific frame frequency, aninteger multiple of the particular frame frequency or the fieldfrequency can be employed with equal effect.

FIG. 30 shows an example connection between the digital signalrecording-reproduction apparatus shown in FIG. 19 and a digitalbroadcast receiver or other digital signal recording-reproductionapparatuses. Reference numeral 1200 designates the digital signalrecording-reproduction apparatus shown in FIG. 19, numeral 1201 adigital broadcast receiver, and numeral 1202 another digital signalrecording reproduction apparatus. The digitally compressed video signaland the like received by the digital broadcast receiver 1201 or thedigitally compressed video signal or the like reproduced by anotherdigital signal recording-reproduction apparatus 1202 is applied from theinput-output terminal 1108 to the digital signal recording-reproductionapparatus 1200 for recording. Also, the digitally compressed videosignal and the like reproduced at the digital signalrecording-reproduction apparatus 1200 is applied through theinput-output terminal 1108 to the digital broadcast receiver 1201 oranother digital signal recording-reproduction apparatus 1202. Thedigital broadcast receiver 1201 processes the input signal the same wayas at the time of normal receiving, and generates and applies the videosignal to a TV set or the like. The digital signalrecording-reproduction apparatus 1202 processes the input signal in apredetermined way for recording.

Although an input-output circuit for a digital signalrecording-reproduction apparatus is described above, the foregoingembodiment is similarly applicable to the input-output circuits of otherdevices such as the digital broadcast receiver 1201 or the like. Withthe digital broadcast receiver or the like, the reference clock fordemodulation of the video signal, for example, can be easilysynchronized with the transmission rate by setting the transmission rateto an integer multiple of the frame frequency.

Also, instead of the terminal acting both as an input and an output usedin the above-mentioned embodiment, independent terminals may be employedfor input and output.

According to this embodiment, the frequency of the clock signal, i.e.,the transmission rate of a recording-reproduction signal is set to aninteger multiple of the field or frame frequency of the video signal orthe rotational speed of the rotary head of a recording-reproductionapparatus, thereby making it possible to synchronize the operation ofthe recording-reproduction apparatus with the input-output signaleasily. Also, the cases with different transmission rates or differentformats of the recording signal can be easily handled by applying aninput or an output for each packet with a predetermined number of bytes.

1. An apparatus for recording a digitally compressed video signal in theform of fixed length packets on a recording medium, comprising: adetecting circuit which detects a clock reference from said digitallycompressed video signal; a generating circuit which generates a clocksignal phase-synchronized with the detected clock reference; a timestamp generating circuit which generates time information (time stamp)of said packets based on said generated clock signal; and a signalprocessing circuit which adds a fixed length time stamp and a fixedlength control signal to each of the packets to generate recordingpacket information and records said generated recording packetinformation on the recording medium.